#ifndef HTTPREQUEST_H
#define HTTPREQUEST_H

#include <QtNetwork/QTcpSocket>
#include <QMap>

namespace As {

class HttpRequest
{
public:
    HttpRequest();
    ~HttpRequest();

    QTcpSocket * m_socket;
    QMap<QString, QString> m_headerMap;
    QString m_body;

    void addHeader(const QString & key, const QString & value);
};

}

Q_DECLARE_METATYPE(As::HttpRequest)

#endif // HTTPREQUEST_H
